using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("GroupChoseDrugCompare")]
    public partial class GroupChoseDrugCompare : BaseModel2
    {

        /// <summary>
        /// 集采编码
        /// </summary>
        [SugarColumn(ColumnName = "GpCode")]
        public string GpCode { get; set; }

        /// <summary>
        /// 集采名称
        /// </summary>
        [SugarColumn(ColumnName = "GpName", IsIgnore = true)]
        public string GpName { get; set; }

        /// <summary>
        /// 集采年度
        /// </summary>
       
        [SugarColumn(ColumnName = "Year",IsIgnore = true)]
        public string Year { get; set; }


        /// <summary>
        /// 集采批次开始日期
        /// </summary>
        [SugarColumn(ColumnName = "BeginDate", IsIgnore = true)]
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// 集采批次结束日期
        /// </summary>
        [SugarColumn(ColumnName = "EndDate", IsIgnore = true)]
        public DateTime EndDate { get; set; }

        /// <summary>
        /// 中选药品
        /// </summary>
        [SugarColumn(ColumnName = "ChosedrugCode")]
        public string ChosedrugCode { get; set; }

        /// <summary>
        /// 中选药品名称
        /// </summary>
        [SugarColumn(ColumnName = "ChosedrugName", IsIgnore = true)]
        public string ChosedrugName { get; set; }

        /// <summary>
        /// 非中选药品
        /// </summary>
        [SugarColumn(ColumnName = "UnChosedrugCode")]
        public string UnChosedrugCode { get; set; }

        /// <summary>
        /// 非中选药品名称
        /// </summary>
        [SugarColumn(ColumnName = "UnChosedrugName", IsIgnore = true)]
        public string UnChosedrugName { get; set; }

        /// <summary>
        /// 转换系数 默认1
        /// </summary>
        [SugarColumn(ColumnName = "Ratio")]
        public decimal Ratio { get; set; } = 1;

        /// <summary>
        /// 是否有效 1是0否
        /// </summary>
        [SugarColumn(ColumnName = "ValidFlag", IsIgnore = true)]
        public string ValidFlag { get; set; } = "1";

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnName = "OperCode", IsIgnore = true)]
        public string OperCode { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        [SugarColumn(ColumnName = "OperDate", IsIgnore = true)]
        public DateTime OperDate { get; set; }

    }
}